package com.gopay.common.domain.cbrmb.customs.base;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import com.gopay.common.constants.cbrmb.customs.NameSpace;

/**
 * 
 * @ClassName: BaseSubscribe
 * @Description: 用于第三方提供数据的订阅下发
 * @author gd.cui
 * @date 2017年1月14日 上午10:20:02
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", namespace = NameSpace.NAMESPACE_XSI_URI, propOrder = { "status", "dxpMode", "dxpAddress", "note" })
@XmlRootElement(name = "BaseSubscribe", namespace = NameSpace.NAMESPACE_CEB_URI)
public class BaseSubscribe {

	/**
	 * 用户订阅单证业务状态的信息, ALL-订阅数据和回执, DATA-只订阅数据,RET- 只订阅回执
	 */
	@XmlElement(name = "status", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String status;

	/**
	 * 默认为DXP；指中国电子口岸数据交换平台
	 */
	@XmlElement(name = "dxpMode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String dxpMode;

	/**
	 * 向中国电子口岸数据中心申请数据交换平台的用户编号
	 */
	@XmlElement(name = "dxpAddress", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String dxpAddress;

	/**
	 * 备注
	 */
	@XmlElement(name = "note", namespace = NameSpace.NAMESPACE_CEB_URI)
	private String note;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDxpMode() {
		return dxpMode;
	}

	public void setDxpMode(String dxpMode) {
		this.dxpMode = dxpMode;
	}

	public String getDxpAddress() {
		return dxpAddress;
	}

	public void setDxpAddress(String dxpAddress) {
		this.dxpAddress = dxpAddress;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}
